from rest_framework.routers import DefaultRouter
from .views import ProjectTypeViewSet, ProjectViewSet, ProjectVoteViewSet, ProjectAttachmentViewSet

router = DefaultRouter()
router.register(r'project-types', ProjectTypeViewSet)
router.register(r'projects', ProjectViewSet)
router.register(r'project-votes', ProjectVoteViewSet)
router.register(r'project-attachments', ProjectAttachmentViewSet)

urlpatterns = router.urls 